<!DOCTYPE html>
<html lang="zh">
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
	<title>教师后台 - 家校互动系统</title>
	<link rel="shortcut icon" href="favicon.ico" />
	<link href="__TMPL__css/alice.css" rel="stylesheet" type="text/css" />
	<link href="__TMPL__css/style.css" rel="stylesheet" type="text/css" />
	<script src="__TMPL__js/jquery.min.js"></script>
	<script src="__TMPL__js/head.js"></script>
	<!--[if lt IE 9]>
	<script src="__TMPL__js/html5.js"></script>
	<![endif]-->
</head> 
<body onload="iframe_height()">
<div id="bodyheight"><!-- 设定iframe框架 --> 

<div style="width:100%">
	<a class="btn_back" href="__URL__/nav" style="width:20%">考勤点名</a> <!-- 当前位置 返回按钮 -->
</div>		<!-- 内容框架开始 -->
	
    
    <div class="main padd6">
		<div class="tab_main clear">
			<a href="__URL__/roll_call" class="cur">考勤点名</a>
			<a href="__URL__/roll_man">考勤管理</a>
		</div>
	
		<div class="realmain padd22 clear">
		
			<div class="ui-nav ui-nav-nosub">
			  <ul class="ui-nav-main">
				<li class="ui-nav-item">
				  <a href="#">默认未到</a>
				</li>
				<li class="ui-nav-item ui-nav-item-current">
				  <a href="#">默认已到</a>
				</li>
				<!--<li class="ui-nav-item">
				  <a href="#">迟到</a>
				</li>-->
			  </ul>
			  <div class="ui-nav-subcontainer"></div>
			</div>
			<form name="content_form" id="content_form" action="" method="post">
			<!-- 头部工具栏开始 -->
			<div class="main-nav" style="margin-bottom:0">
					<div class="ui-form-item">
						<label for="lesson_type_id" class="ui-label">班级：</label>
			  {~classlist('',loadpower(3))}</div>
					<div class="ui-form-item">
						<label for="lesson_type_id" class="ui-label">日期：</label>
						<input name="time" type="text" class="ui-input  inputdate" id="time">
					</div>
					<div class="ui-form-item">
						<label for="lesson_type_id" class="ui-label">课次：</label>
						<select id="lesson_type_id" name="lesson_type_id" class="ui-select">
							<option value="">
							全部
						  </option>
						  <volist name="lessonlist" id="vo">
                            <option value="{$vo.id}">
							{$vo.type_name}
							</option>
                            </volist>
					  </select>
					</div>
                    <div class="ui-form-item">
						<input type="submit" class="ui-button btn-search" value="查询">
					</div>
					<div class="ui-form-item" style="float:right;margin-right:10px;">
						<label for="lesson_type_id" class="ui-label">当前课程：</label>
						<input class="ui-input" size="6" type="text" value="{$lessoninfo.subject_id|getinfo=###,'subject','KCMC'}" readonly>
					</div>
			</div>
			<!-- 头部工具栏结束 -->
			
			<!-- 列表内容开始 -->
			<div class="roll_content clear">
            <if condition="$lessoninfo neq ''">
            
				<volist name="studentlist" id="vo">
                 <if condition="loadatt($lessoninfo['id'],$vo['id'],$time) neq ''">
                <a href="__URL__/delattence/lesson_id/{$lessoninfo.id}/student_id/{$vo.id}/time/{$time}" class="on">{$vo.XM}</a>
                <else />
                <a href="__URL__/attence/lesson_id/{$lessoninfo.id}/student_id/{$vo.id}/time/{$time}">{$vo.XM}</a>
				</if>
                </volist>
                <input id="studentidlist" name="studentlist" value="">
            </if>
			</div>
            <div style="text-align:center"></div>
			<!-- 列表内容结束 -->
			</form>
		</div>
	</div>
	<!-- 内容框架结束 -->
</div>

<iframe width='0' id='top_src' height='0' src=''></iframe>
<include file="Public:foot" />
</body>
</html>